package com.top10.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ellen
 * @since 2018-09-29
 */
@TableName("tb_search_keyword")
public class SearchKeyword extends Model<SearchKeyword> {

    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 唯一识别码
     */
	private String uuid;
    /**
     * 创建时间
     */
	private Date createtime;
    /**
     * 修改时间
     */
	private Date updatetime;
    /**
     * 搜索关键字
     */
	private String keyword;
    /**
     * 创建者
     */
	private String creator;
    /**
     * 修改者
     */
	private String mender;
    /**
     * 是否显示（0=不显示，1=显示)
     */
	@TableField("is_show")
	private Integer isShow;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getMender() {
		return mender;
	}

	public void setMender(String mender) {
		this.mender = mender;
	}

	public Integer getIsShow() {
		return isShow;
	}

	public void setIsShow(Integer isShow) {
		this.isShow = isShow;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "SearchKeyword{" +
			", id=" + id +
			", uuid=" + uuid +
			", createtime=" + createtime +
			", updatetime=" + updatetime +
			", keyword=" + keyword +
			", creator=" + creator +
			", mender=" + mender +
			", isShow=" + isShow +
			"}";
	}
}
